package com.lsl.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lsl.dto.UserDTO;
import com.lsl.entity.FollowingUser;

public interface FollowingUserService extends IService<FollowingUser> {
    boolean followUser(Integer userId, Integer followingUserId);
    boolean unfollowUser(Integer userId, Integer followingUserId);
    boolean isFollowing(Integer userId, Integer followingUserId);
    List<UserDTO> getFollowingUsers(Integer userId);
    List<UserDTO> getFollowers(Integer userId);
}
